import os

from conftest import send_email
from utils.send_feishu import inform
from utils.utils import remove_result

if __name__ == '__main__':
    path = "./result"
    remove_result(path)
    path_report = "./report"
    remove_result(path_report)
    # 通过os运行pytest
    os.system("pytest")
    os.system("allure serve ./result/ -p 8083")

